package com.hl.card.common.persistence.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 账单
 * 
 * @author 袁伟
 *
 */
public class Bill {
	private Integer id;
	private String bill_no; // 账单编号
	private Date time; // 出账时间
	private String account; // 用户编号
	private String user_id; // 用户ID
	private String community_code; // 社区编号
	private Integer num; // 本期认证数
	private Integer status; // 状态 0未结算 1已结算
	private Date settle_time; // 结算日期
	
	//-----------------额外查询参数--------------------------
	private String start_time;
	private String end_time;

	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBill_no() {
		return bill_no;
	}

	public void setBill_no(String bill_no) {
		this.bill_no = bill_no;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getCommunity_code() {
		return community_code;
	}

	public void setCommunity_code(String community_code) {
		this.community_code = community_code;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getSettle_time() {
		return settle_time;
	}

	public void setSettle_time(Date settle_time) {
		this.settle_time = settle_time;
	}
}
